package org.uranus.consul.consumer.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.uranus.consul.consumer.service.RibbonService;

/**
 * Ribbon远程调用测试
 * @author uranus
 *
 */
@RestController
public class RibbonController {
	@Autowired
	private RibbonService ribbonService;
	
	@RequestMapping("/ribbon/hi")
	public String hi() {
		return ribbonService.hello();
	}
	
}
